<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<script>
    function sum(a, b) {
        return a + b;
    }

    console.log(sum(1, 2));
    console.log(sum(3, 4));
</script>
</body>
</html>